﻿@model Tasker.WebUI.Models.Profile.ProfileShowModel
           
@{
    ViewBag.Title = Model.Login;
    Layout = "~/Views/Shared/_Layout.cshtml";
}


@section Sidebar
{
    <div class="block">
        <div class="head">
            Должность
        </div>
        <span>
            @Model.Position
        </span>
    </div>
    <div class="block">
        <div class="head">
            Email
        </div>
        @foreach(var em in Model.Emails)
        {
            <span>
                <a href="mailto:@em">
                    @em
                </a>
            </span>
        }
    </div>
    <div class="block">
        <div class="head">
            Телефон
        </div>
        @foreach(var ph in Model.Phones)
        {
            <span>
                <a href="mailto:@ph">
                    @ph
                </a>
            </span>
        }
    </div>

}


<div id="employee-card-content">
    <div>
        <a href="@Url.Action("Edit", "Profile")" class="act-edit-card">
            Редактировать профиль
        </a>
    </div>
    <div id="employee-card-first-column">
        <div style="margin-bottom: 20px;font-size: 2.3em;">
            @Model.FullName
        </div>
        <div style="text-align: center;">
            <img src="@Url.Content(@Model.PicturePath)" />
        </div>
    </div>
    <div id="employee-card-second-column">
        
    </div>
</div>
